<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Read image from file [deprecated]</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.pdf-open-image-file" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">PDF_open_image_file</h1>
  <p class="verinfo">(PHP 4, PECL pdflib &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">PDF_open_image_file</span> &mdash; <span class="dc-title">Read image from file [deprecated]</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.pdf-open-image-file-description">
  <h3 class="title">说明</h3>
   <div class="methodsynopsis dc-description">
    <span class="methodname"><strong>PDF_open_image_file</strong></span>
     ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$p</code></span>
    , <span class="methodparam"><span class="type">string</span> <code class="parameter">$imagetype</code></span>
    , <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
    , <span class="methodparam"><span class="type">string</span> <code class="parameter">$stringparam</code></span>
    , <span class="methodparam"><span class="type">int</span> <code class="parameter">$intparam</code></span>
    ) : <span class="type">int</span></div>

   <p class="para rdfs-comment">
    Opens an image file.
  </p>
  <p class="para">
   This function is deprecated since PDFlib version 5, use
   <span class="function"><a href="pdf_load_image.html" class="function">PDF_load_image()</a></span> with the colorize, ignoremask,
   invert, mask, masked, and page options instead.
  </p>
 </div>

</div></div></div></body></html>